#include					"Processor.h"
#include					"TcpClient.h"

TcpClient::TcpClient(Processor & proc) : _proc(proc), _socket(proc)
{
	_socket.init();
}

TcpClient::~TcpClient()
{

}

void						TcpClient::connectToHost(std::string ip, std::string port)
{
	_socket.connectToHost(ip, port);
}

void						TcpClient::sendOrder(IOrder *order)
{
	_socket.sendOrder(order);
}
